home *** CD-ROM | disk | FTP | other *** search
/ MacWorld 1998 October / Macworld (1998-10).dmg / Serious Demos / Morpha / 3DO.DXR / 00039.ls < prev    next >
Encoding:
Text File  |  1998-07-31  |  812 b   |  37 lines

  1. on push
  2.   global ca, flipper, ba, logo, logo2
  3.   set ca to ca + 1
  4.   repeat with i = 1 to 30
  5.     if ca > 1886 then
  6.       set ca to 1
  7.     end if
  8.     if flipper = 1 then
  9.       set the memberNum of sprite (i + 49) to 1000 + ca
  10.       next repeat
  11.     end if
  12.     if ca > 1886 then
  13.       set ca to 1
  14.     end if
  15.     set ca to ca + 1
  16.     set the memberNum of sprite (i + 49) to 1000 + ca
  17.   end repeat
  18.   if the visible of sprite 3 = 1 then
  19.     set ba to ba + 1
  20.     if ba > 20 then
  21.       set ba to 1
  22.     end if
  23.     set the memberNum of sprite 3 to 529 + ba
  24.   end if
  25.   set logo to logo + 1
  26.   if logo > 28 then
  27.     set logo to 1
  28.   end if
  29.   set the memberNum of sprite 2 to 3350 + logo
  30.   set logo2 to logo2 + 1
  31.   if logo2 > 32 then
  32.     set logo2 to 1
  33.   end if
  34.   set the memberNum of sprite 18 to 581 + logo2
  35.   updateStage()
  36. end
  37.